package com.example.demo.service.impl;

import com.example.demo.dao.ActivityesareaDao;
import com.example.demo.pojo.Activityesarea;
import com.example.demo.service.ActivityesareaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ActivityesareaServiceImpl implements ActivityesareaService {
    @Autowired
    private ActivityesareaDao activityesareaDao;
    @Override
    public int deleteByPrimaryKey(Integer activityesareaid) {
        return activityesareaDao.deleteByPrimaryKey(activityesareaid);
    }

    @Override
    public int insert(Activityesarea record) {
        return activityesareaDao.insert(record);
    }

    @Override
    public int insertSelective(Activityesarea record) {
        return activityesareaDao.insertSelective(record);
    }

    @Override
    public Activityesarea selectByPrimaryKey(Integer activityesareaid) {
        return activityesareaDao.selectByPrimaryKey(activityesareaid);
    }

    @Override
    public List<Activityesarea> selectAll() {
        return activityesareaDao.selectAll();
    }

    @Override
    public int updateByPrimaryKeySelective(Activityesarea record) {
        return activityesareaDao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Activityesarea record) {
        return activityesareaDao.updateByPrimaryKeySelective(record);
    }
}
